package com.giveme5.common.api.entity;

import java.util.Collection;

import com.giveme5.common.entity.SimpleResult;
import com.giveme5.common.entity.SimpleResultMessage.CommonResultCode;

/**
 * 参数类型错误
 * 
 * @author
 * 
 */
public class SimpleAdaptorError extends SimpleResult {

	private Collection<String> errors;

	public SimpleAdaptorError() {
		super(CommonResultCode.COMMON_ADAPTOR_ERROR);
	}

	public Collection<String> getErrors() {
		return errors;
	}

	public void setErrors(Collection<String> errors) {
		this.errors = errors;
	}

	public SimpleAdaptorError(Collection<String> errors) {
		super(CommonResultCode.COMMON_ADAPTOR_ERROR);
		this.errors = errors;
	}

}
